import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from '@angular/core';
import {IndexComponent} from '../../index/index.component';
import {RouterModule} from '@angular/router';
import {IndexRoutes} from './index.routing';
import {ShareModule} from '../../share.module';
import {IndexService} from '../../server/index.service';

@NgModule({
  imports: [
    ShareModule,
    RouterModule.forChild(<any>IndexRoutes),
  ],
  declarations: [
    IndexComponent,
  ],
  providers: [IndexService],
  schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})
export class IndexModule { }
